package com.gmail.theredfaceone.cp.client;

public class RCPCommand<V>{

    //This class is necessary because some commands will require different data types as command values.
    private RCPCommandType type;
    private V value;

    public RCPCommand(RCPCommandType type, V value){
        this.type = type;
        this.value = value;
    }

    public RCPCommandType getType(){
        return type;
    }

    public void setType(RCPCommandType type){
        this.type = type;
    }

    public V getValue(){
        return value;
    }

    public void setValue(V value){
        this.value = value;
    }
}
